<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>

	<head>
		<base href="<%=basePath%>">

		<title>系统功能列表</title>

		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>jslib/bootstrap/css/bootstrap.css">
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>css/theme.css">
		<link rel="stylesheet"
			href="<%=basePath%>jslib/font-awesome/css/font-awesome.css">
		<script src="<%=basePath%>jslib/jquery-1.7.2.min.js"
			type="text/javascript"></script>
		<script src="<%=basePath%>/jquery/jquery-3.2.1.js" ></script>
		<!--下拉表单选择 		-- -->
		<!-- <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script> -->
		<style>
		.leftImage{
 			float: left;
 		}
 	     .well{
 		float: left;
 		}
 		.row-fluid{
 		margin: 0 auto 20px;
 		}
 		
 		
		</style>
 		
 		
	</head>
<body>
<center><h4>车贷分期选择</h4></center><br>
<div>

<form action="dkje" method="post">
我要贷：<input type="text" name="dkje" />元 &nbsp;&nbsp;
<button type="submit" class="djck" >点击查看</button>
</form>
</div>

<div class="container-fluid">
			<div class="row-fluid">
				<div class= "leftImage">
				<img alt="" src="<%=basePath%>/img/buycar1.jpg">
				</div>
				
				<div class="well">
					<table class="table">
						<thead>
							<tr>
								<th>
									汽车款式名
								</th>
								<th>
									还款计划
								</th>
								<th>
									每期还(元)
								</th>
								<th>
									本息合计(元)
								</th>
								
								<th style="width: 90px;">
									选择申请
								</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${plancar1}" var="item">
								<tr>
									<td>
										${item.carName}
									</td>
									<td>
										${item.regplan}
									</td>
									<td>
										${item.terminally}
									</td>
									<td>
										${item.total}
									</td>
									<td>
										<a href="<%=basePath%>dkfs?carName=${item.carName}&
										regplan=${item.regplan}&terminally=${item.terminally}&
										total=${item.total}">立即申请</a>
									</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>  
			</div>
						<div class="row-fluid">
				<div class= "leftImage">
				<img alt="" src="<%=basePath%>/img/buycar2.jpg">
				</div>
				
				<div class="well">
					<table class="table">
						<thead>
							<tr>
								<th>
									汽车款式名
								</th>
								<th>
									还款计划
								</th>
								<th>
									每期还(元)
								</th>
								<th>
									本息合计(元)
								</th>
								
								<th style="width: 90px;">
									选择申请
								</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${plancar2}" var="item">
								<tr>
									<td>
										${item.carName}
									</td>
									<td>
										${item.regplan}
									</td>
									<td>
										${item.terminally}
									</td>
									<td>
										${item.total}
									</td>
									<td>
										<a href="<%=basePath%>dkfs?carName=${item.carName}&
										regplan=${item.regplan}&terminally=${item.terminally}&
										total=${item.total}">立即申请</a>
									</td>
									
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>  
			</div>
		</div>



<form action="">


</form>
</body>
</html>